﻿<%@ Page Language="C#" AutoEventWireup="True" Inherits="JWBSTAPP.MsjZaYqbzEdit" Codebehind="MsjZaYqbzEdit.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改</title>
    <link href="../Styles/AddOrEditPage.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../Styles/validationEngine.jquery.css" type="text/css"
        media="screen" charset="utf-8" />
    <script src="../Scripts/jQuery-1.9.0.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/jquery.validationEngine-cn.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.validationEngine.js"></script>
    <script type="text/javascript" src="../Scripts/CommonADEQ3.js"></script>
    <script type="text/javascript">
        $().ready(function () {
            initEditPage("MsjZaYqbzForm", "../AjaxServer/Form/MsjZaYqbzHandler.ashx");
        });
        function PreviewImg(imgFile) {
            var ext = imgFile.value.toLowerCase().substring(imgFile.value.length - 3, imgFile.value.length);
            if (ext == "jpg" || ext == "png" || ext == "gif" || ext == "bmp") {

            }
            else {
                alert("提示：不是有效图片格式！");
            }
        } 
    </script>
</head>
<body>
    <div class="container">
        <form id="MsjZaYqbzForm" action="" method="get" runat="server">
        <table class="mainTable">
            <tr>
                <td class="mainTable_TitleTd" colspan="4">
                    新增
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texXm">
                        养犬人姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texXm" name="texXm" class="validate[required]" type="text" size="30" value="" /><em>*</em>
                </td>
                <%--    <td class="mainTable_LeftTd" rowspan="3">
                    犬只照片:
                </td>
                <td class="mainTable_RightTd" rowspan="3" style="text-align: center">
                    <img id="newPreview" width="90" height="120" runat="server" alt="" />
                </td>--%>
                <td class="mainTable_LeftTd">
                    <label for="texZw">
                        联系电话：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texZw" name="texZw" class="validate[required]" type="text" size="30" value="" /><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texSfzh">
                        身份证号：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texSfzh" name="texSfzh" class="validate[required]" type="text" size="30"
                        value="" maxlength="18" /><em>*</em>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texEmail">
                        Email地址：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texEmail" name="texEmail" type="text" size="30" value="" />
                </td>
                <%-- <td class="mainTable_LeftTd">
                    &nbsp;
                </td>
                <td class="mainTable_RightTd">
                    <input type="file" name="imagefile" />
                </td>--%>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texYqrzz">
                        养犬人住址<br>
                        (精确到门牌号）</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texYqrzz" name="texYqrzz" class="validate[required]" type="text" size="30"
                        value="" /><em>*</em>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texSjdwid">
                        上级单位(所属分局和市局）：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texSjdwid" name="texSjdwid" class="validate[required]" type="text" size="30"
                        value="" /><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texQz">
                        犬种：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texQz" name="texQz" class="validate[required]" type="text" size="30" value="" /><em>*</em>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texQm">
                        犬名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texQm" name="texQm" class="validate[required]" type="text" size="30" value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texXb">
                        犬只性别：</label>
                </td>
                <td class="mainTable_RightTd">
                    <%--  <input id="texXb" name="texXb" class="validate[required]" type="text" size="30" value="" />--%>
                    <select id="selXb" name="selXb" class="validate[required]" runat="server" style="width: 213px">
                        <option value="">请选择犬性别</option>
                        <option value="1">雄性</option>
                        <option value="0">磁性</option>
                    </select>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texMs">
                        毛色：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texMs" name="texMs" class="validate[required]" type="text" size="30" value="" /><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texTc">
                        体长(cm)：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texTc" name="texTc" class="validate[required]" type="text" size="30" value="" /><em>*</em>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texJg">
                        肩高(cm)：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texJg" name="texJg" type="text" size="30" value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_ButtonTd" colspan="4">
                    <input class="button" type="submit" value="提交" />
                    <input class="button" type="button" value="取消" onclick="window.parent.tb_remove();" />
                </td>
            </tr>
        </table>
        </form>
</body>
</html>
